package com.gem.sms.service;

import com.gem.sms.entity.Student;
import com.github.pagehelper.PageInfo;
import org.springframework.stereotype.Service;

import java.util.List;

public interface StudentService {

    void addStu(Student student);

    Student getStudentByStuNo(String stuNo);

    Student canLogin(String sno, String pwd);

    PageInfo<Student> listByPages(int pageNow, int pageSize, String searchName);

    void updateStu(Student student);

    void delete(String stuNo);

    List<Student> list();
}
